unit uDZMSTcpIP;

interface

uses
  uDZWinSock2;

type
  tcp_keepalive = record
    onoff: u_long;
    keepalivetime: u_long;
    keepaliveinterval: u_long;
  end;
  TTCPKeepAlive = tcp_keepalive;
  PTCPKeepAlive = ^TTCPKeepAlive;

const
  SIO_RCVALL = IOC_IN or IOC_VENDOR or 1;
  SIO_RCVALL_MCAST = IOC_IN or IOC_VENDOR or 2;
  SIO_RCVALL_IGMPMCAST = IOC_IN or IOC_VENDOR or 3;
  SIO_KEEPALIVE_VALS = IOC_IN or IOC_VENDOR or 4;
  SIO_ABSORB_RTRALERT = IOC_IN or IOC_VENDOR or 5;
  SIO_UCAST_IF = IOC_IN or IOC_VENDOR or 6;
  SIO_LIMIT_BROADCASTS = IOC_IN or IOC_VENDOR or 7;
  SIO_INDEX_BIND = IOC_IN or IOC_VENDOR or 8;
  SIO_INDEX_MCASTIF = IOC_IN or IOC_VENDOR or 9;
  SIO_INDEX_ADD_MCAST = IOC_IN or IOC_VENDOR or 10;
  SIO_INDEX_DEL_MCAST = IOC_IN or IOC_VENDOR or 11;
  
  RCVALL_OFF = 0;
  RCVALL_ON = 1;
  RCVALL_SOCKETLEVELONLY = 2;

implementation

end.
